﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using DWF.Studio.V8Communicator.Messages.Runtime;
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages.Debugger
{
    public class Scope
    {
        [JsonProperty("type")]
        public string ScopeType { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("object")]
        public RemoteObject Object { get; set; }

        [JsonProperty("startLocation")]
        public Location StartLocation { get; set; }

        [JsonProperty("endLocation")]
        public Location EndLocation { get; set; }
    }
}